﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FlowStepList.aspx.cs" Inherits="admin_Flow_BackManage_FlowStepList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>流程步骤</title>
    <base target="_self"></base>
    
        <link rel="Stylesheet" type="text/css" href="../../Styles/right_style.css" />
        <script type="text/javascript" src="../../Scripts/jquery.ui/js/jquery.js"></script>

         <style type="text/css">
            <!--
            html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
            scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
            -->
        </style>

</head>
<%     
        Response.Buffer = true;
        Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";   
%>
<body>
    <form id="form1" runat="server">
            <div class="sub_right_top">
<div class="hdm_footer">   
    <div style="height:13px; overflow:hidden;"></div>   
    <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0" style="border-collapse:collapse; ">
      <tr bgcolor="#b1d5ef">
        <td><span class="new_name_word"><asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="14px" ForeColor="Black"></asp:Label></span><span class="new_button_img">
            <asp:ImageButton ID="btnAddFlowStep" runat="server" OnClick="btnAddFlowStep_Click" ImageUrl="~/images/new_all_but.gif" />
        </span>
    </td>
      </tr>
    </table>
    <div style="height:10px; overflow:hidden;"></div>   
    <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0" style="border-collapse:collapse; ">
      <tr  bgcolor="#b1d5ef">
        <td colspan="5"><asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="14px" ForeColor="Black"></asp:Label></td>
        </tr>
      <tr>
        <td colspan="5">请设定好各步骤的可写字段和经办权限（此经办权限是经办人员、经办部门、经办角色的合集）</td>
        </tr>
    </table> 

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderColor="#77ACD0" HorizontalAlign="Center" BorderWidth="1px"
                        GridLines="Horizontal" OnRowCommand="GridView1_RowCommand" Width="97%" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
                        <Columns>
                            <asp:BoundField DataField="Sort_id" HeaderText="序号">
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Prc_name" HeaderText="名称" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:BoundField DataField="NextPrc_id" HeaderText="下一步骤" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="编辑该步骤的各项属性">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("NewFlowStep_id") %>' CommandName="updateFlowStep">基本属性</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument='<%# Eval("NewFlowStep_id") %>' CommandName="updateInputs">可写字段</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton3" runat="server" CommandArgument='<%# Eval("NewFlowStep_id") %>' CommandName="updateManager">经办人员</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton4" runat="server" CommandArgument='<%# Eval("NewFlowStep_id") %>' CommandName="updateSections">经办部门</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton5" runat="server" CommandArgument='<%# Eval("NewFlowStep_id") %>' CommandName="updateRoles">经办角色</asp:LinkButton>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="操作">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton6" runat="server" CommandArgument='<%# Eval("NewFlowStep_id") %>' CommandName="delFlowStep" OnClientClick="return confirm('确认删除？')">删除</asp:LinkButton>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <RowStyle BackColor="Transparent" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                    <PagerStyle BackColor="#E4F1FD" ForeColor="#1E5494" HorizontalAlign="Right" />
                                    <HeaderStyle BackColor="#E4F1FD" ForeColor="#1E5494" BorderColor="#77ACD0" HorizontalAlign="Center"/>
                                    <AlternatingRowStyle BackColor="#E4F1FD" />
                    </asp:GridView>
    <div style="height:15px; overflow:hidden;"></div>
  </div>
</div>

    </form>
</body>
</html>
